package com.yunban.project.template.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * @author: lijiajun
 * @date: 2024-11-06
 * @version: 1.0
 */
@Data
@Schema(description = "风格请求参数")
public class StyleReq implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "父级ID")
    private Long pid;

    @Schema(description = "风格Code")
    private String code;

    @Schema(description = "风格名称")
    @NotBlank(message = "风格名称不能为空")
    private String name;
}
